<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head th:replace="public::head('经商办企业信息单位校对')">
</head>
<div th:replace="top::top"></div>
<div class="container-fluid">
    <div id="Deptlist" class="main" style="padding: 0;">

        <div class="primary-title">
            经商办企业信息单位校对
        </div>

        <div class="primary-content">
            <table class="table table-bordered" style="margin-bottom:10px;">
                <tbody>
                <tr>
                    <th class="center middle" style="background-color:rgba(0,0,0,.03);width: 200px;text-align: center;line-height: 45px;">
                       单位名称
                    </th>
                    <td class="center middle">
                        <input id="deptaname" v-model="deptname" class="form-control" type="text" style="background-color:#fff;    margin-top: 5px;"
                               placeholder="请输入单位名称"/>
                    </td>
                    <th class="center middle" style=";background-color:rgba(0,0,0,.03);width: 120px;text-align: center;line-height: 45px;">
                        机构名称码
                    </th>
                    <td class="center middle">
                        <input id="jigoumingchengma" v-model="jigoumingchengma" class="form-control" type="text" style="background-color:#fff;    margin-top: 5px;"
                               placeholder="请输入机构名称码"/>
                    </td>
                    <td class="center middle" style="width:120px;" >
                        <button class="btn btn-success btn-lg" @click="selectJigoumaAndDepName();">搜 索</button>
                    </td>
                </tr>
                </tbody>
            </table>

            <table class="table table-hover table-striped" width="45%">
                <thead>
                <th style="text-align:center;vertical-align:middle;width: 60px;">序号</th>
                <th style="text-align:center;vertical-align:middle;width: 100px;">单位名称</th>
                <th style="text-align:center;vertical-align:middle;width: 100px;">机构名称码</th>
                <th style="text-align:center;vertical-align:middle;width: 100px;">操作</th>
                </thead>

                <tbody v-for="(deptone,index) in DeptList" >
                <tr class="ld" >
                    <td style="text-align:center;vertical-align:middle;" v-text="index+1"></td>
                    <td style="text-align:center;vertical-align:middle;" >
                        <input  v-model="deptone.deptname" class="form-control" type="text" style="background-color:#fff;margin-top: 5px;"/>
                    </td>
                    <td style="text-align:center;vertical-align:middle;" >
                        <input  v-model="deptone.jigoumingchengma" class="form-control" type="text" style="background-color:#fff;margin-top: 5px;"/>
                    </td>

                    <td style="text-align:center;vertical-align:middle;" >
                        <button @click="Modify(deptone);" class="btn btn-info">保存</button>
                    </td>
                </tr>


                </tbody>


            </table>


        </div>

    </div>
</div>
<div th:replace="bottom::bottom"></div>

<script src="../js/jingshangqingkuang/jigoumingchengmajiaodui.js?ver=0.1"></script>
<link href="../css/main.css?ver=1.0" rel="stylesheet" type="text/css"></link>
<link href="../css/dashboard.css?ver=1.1" rel="stylesheet" type="text/css"></link>
<link rel="stylesheet" href="../css/xadmin.css?ver=0.6">


</html>